<?php

class ExceptionGeral extends Exception {

    public function __contruction($strMsg) {
        parent::__construct($strMsg);
    }

    public function __toString() {
        $objSmarty = ConfigSmarty::getConfigSmarty();
        $objSmarty->assign("MENSAGEM", "Erro exception ao criar o arquivo!");
        return $objSmarty->fetch(PASTA_ERROR . "central.tpl");
    }

}

?>